package com.gagakuai;

import com.gagakuai.web.encript.annonation.EnableScriet;
import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitScan;
import lombok.extern.slf4j.Slf4j;
import org.camunda.bpm.spring.boot.starter.annotation.EnableProcessApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@EnableProcessApplication
@EnableFeignClients
@EnableScheduling
@EnableSwagger2
@RetrofitScan("com.gagakuai.bpm.rpcservice.retrofit")
@EnableRabbit
@Slf4j
@ServletComponentScan("com.gagakuai.bpm.common")
@MapperScan(basePackages = {"com.gagakuai.bpm.dao.mapper"})
@SpringBootApplication
public class GagakuaiBpmApplication {

    public static void main(String[] args) {
        SpringApplication.run(GagakuaiBpmApplication.class, args);
    }

}
